#include "SypEngine.h"

#ifdef CHECKMEM
#include "mmgr.h"
#endif
namespace Syp
{

PixelShader::PixelShader(const String& filename):Shader(filename)
{
	id = Renderer::getRenderer().generatePixelShader();
}


void PixelShader::compileShader()
{
	assert(source != "" && "Shader source code not loaded");
	Renderer::getRenderer().compilePixelShader(this);	
}
}
